package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 模型操作日志表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_model_log")
@ApiModel(value = "ModelLog对象", description = "模型操作日志表")
public class ModelLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模型操作日志id")
    @TableId(value = "model_log_id", type = IdType.AUTO)
    private Integer modelLogId;

    @ApiModelProperty(value = "模型id")
    private Integer modelId;

    @ApiModelProperty(value = "操作员id")
    private Integer adminId;

    @ApiModelProperty(value = "操作类型")
    private Integer modelOperationId;

    @ApiModelProperty(value = "操作时间")
    private LocalDateTime modelLogTime;

    @ApiModelProperty(value = "备用字段1")
    private String modelLogReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String modelLogReserve2;

}
